home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7144 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.0 KB

  1. Path: Gamma.RU!srcc!newsserver
  2. Newsgroups: comp.lang.c++,comp.os.ms-windows.programmer.win32,comp.os.ms-windows.nt.misc,fido7.windows.nt,fido7.windows
  3. Message-ID: <ADygSAnCM1@r-style.msk.su>
  4. Organization: JV R-Style
  5. Date: Tue, 20 Feb 1996 16:21:00 +0300 (MSK)
  6. From: "Alex Lubimov" <lubimov@r-style.msk.su>
  7. X-Mailer: dMail [Demos Mail for DOS v1.23]
  8. Subject: Tale of my woe: IMPLIB from Borland IDE
  9. Keywords: borland implib error dll windows
  10. Distribution: su
  11. Sender: news-service@srcc.msu.su
  12. X-Return-Path: gamma!rstyle!r-style.msk.su!lubimov
  13.  
  14. Dear All,
  15.  
  16. Here's the tale of my woe...
  17.  
  18. I'm doing a project in Borland C++ 4.52 IDE, which contains a
  19. 32-bit .DLL target. Every time when I have to run IMPLIB, I get
  20. a message:
  21.  
  22.           "Critical error during transfer"
  23.  
  24. The corresponding .LIB file is created, but its size is 0
  25. (zero).
  26.  
  27. Below I will describe my project environment and sort of report
  28. on my own investigation.
  29. I'll be grateful for any sort of feedback.
  30.  
  31.  
  32. Project environment:
  33. --------------------
  34.  
  35. PC:  Pentium-60, RAM 16M, HDD1: Quantum 270M, HDD2: Samsung 540M
  36. OS:  WindowsNT Workstation 3.51 Build 1057
  37. IDE: Borland C++ 4.52
  38.  
  39.  
  40. Sort of report...
  41. -----------------
  42.  
  43. This problem of mine has quite a long history. :-(
  44. Couple of months ago, working under Borland C++ 4.5, I was
  45. struck by a message
  46.  
  47.        "Unable to find [Internal]"
  48.  
  49. at attempt to run IMPLIB (through "Make" or "Link and Implib").
  50. As far as I understood, [Internal] stands for the path to IMPLIB
  51. tool, as it was described in Options | Tools... under name
  52. "ImportLibraryCreate".
  53.  
  54. I couldn't fix the problem then, and finally had to make new
  55. project file (.IDE) from scratch. Error disappeared.
  56.  
  57. ---------------------------------------------------------------
  58. Remark: I HAVE already tried this with Borland 4.52 - without
  59.         any result.
  60.         I even did more - I reformatted hard disk D: and
  61.         reinstalled both WinNT and Borland...
  62.         Tricks with BCW.INI (Inherit, Read/Save asText) failed
  63.         too.
  64. ---------------------------------------------------------------
  65.  
  66. Now, In Borland C++ 4.52 I noticed, that I had actually TWO
  67. IMPLIBS: as .DLL and as .EXE:
  68.     implib.dll is 16-bit
  69.     implib.exe is 32-bit
  70.  
  71. Borland IDE always calls IMPLIB.DLL - and fails; invoking
  72. IMPLIB.DLL manually via ALT-F10 | Special | Implib gives same
  73. result. Whereas, IMPLIB.EXE works just fine.
  74.  
  75. There is one thing that disorients me. Among OWL examples,
  76. there is one that also produces .DLL:
  77.    \BC45\EXAMPLES\OWL\OWLAPI\DLLHELLO\dllhello.ide
  78. It builds just fine! (Also, .IDE file created with Borland 4.02 runs
  79. implib without error)
  80. I tried to insert my .DLL as a target in this successful project
  81. file. WHAM! (I mean - Critical error during transfer)
  82.  
  83. This error seems to stick to Windows NT: I have a mate here who
  84. suffers same problem with totally independent project; but we
  85. were unable to reproduce this error under Windows 95.
  86.  
  87. OK, that's my sad story...
  88. Guess, there is no need to explicitly put the question.
  89.  
  90. Regards,
  91.  
  92. Alex Lubimov
  93.  
  94. R-Style Software Lab
  95. Moscow, Russia
  96.  
  97.  
  98.